/*
 * Monos.java
 *
 * Created on May 4, 2005, 7:21 PM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package com.milowski.monos.scheme;

import gnu.expr.*;

/**
 *
 * @author R. Alexander Milowski
 */
public class Monos implements Runnable
{

   public static void init(Language language) {
      language.defineFunction(new Symbol2MonomialProcedure());
      language.defineFunction(new Symbol2MonomialProcedure("string->monomial"));
      language.defineFunction(new List2LexOrderProcedure());
      //language.defineFunction(new LexOrderedListProcedure());
      language.defineFunction(new List2MonomialProcedure());
      language.defineFunction(new Symbol2BinomialProcedure());
      language.defineFunction(new Symbol2BinomialProcedure("string->binomial"));
      language.defineFunction(new List2BinomialProcedure());
      language.defineFunction(new ConstructCompactBinomialProcedure());
   }
   public void run()
   {
      Language language = Language.getDefaultLanguage();
      init(language);
   }
}
